const keyCode = {
  'uppercase': [[{
    key: '1',
    keyCode: 49,
  }, {
    key: '2',
    keyCode: 50,
  }, {
    key: '3',
    keyCode: 51,
  }, {
    key: '4',
    keyCode: 52,
  }, {
    key: '5',
    keyCode: 53,
  }, {
    key: '6',
    keyCode: 54,
  }, {
    key: '7',
    keyCode: 55,
  }, {
    key: '8',
    keyCode: 56,
  }, {
    key: '9',
    keyCode: 57,
  }, {
    key: '0',
    keyCode: 48,
  }], [{
    key: 'Q',
    keyCode: 81,
  }, {
    key: 'W',
    keyCode: 87,
  }, {
    key: 'E',
    keyCode: 69,
  }, {
    key: 'R',
    keyCode: 82,
  }, {
    key: 'T',
    keyCode: 84,
  }, {
    key: 'Y',
    keyCode: 89,
  }, {
    key: 'U',
    keyCode: 85,
  }, {
    key: 'I',
    keyCode: 73,
  }, {
    key: 'O',
    keyCode: 79,
  }, {
    key: 'P',
    keyCode: 80,
  }], [{
    key: 'A',
    keyCode: 65,
  }, {
    key: 'S',
    keyCode: 83,
  }, {
    key: 'D',
    keyCode: 68,
  }, {
    key: 'F',
    keyCode: 70,
  }, {
    key: 'G',
    keyCode: 71,
  }, {
    key: 'H',
    keyCode: 72,
  }, {
    key: 'J',
    keyCode: 74,
  }, {
    key: 'K',
    keyCode: 75,
  }, {
    key: 'L',
    keyCode: 76,
  }], [{
    key: '↑',
    keyCode: 20,
    id: 'case',
    type: 'button',
    width: 'auto',
    icon: 'arrow-up'
  }, {
    key: 'Z',
    keyCode: 90,
  }, {
    key: 'X',
    keyCode: 88,
  }, {
    key: 'C',
    keyCode: 67,
  }, {
    key: 'V',
    keyCode: 86,
  }, {
    key: 'B',
    keyCode: 66,
  }, {
    key: 'N',
    keyCode: 78,
  }, {
    key: 'M',
    keyCode: 77,
  }, {
    key: '←',
    keyCode: 8,
    type: 'button',
    icon: 'tuige',
    width: 'auto'
  }], [{
    key: '!?#',
    id: 'symbol',
    keyCode: 321,
    type: 'button',
    width: '2em'
  }, {
    key: '123',
    id: 'number',
    keyCode: 321,
    type: 'button',
    width: '2em'
  }, {
    key: '.',
    keyCode: 190,
  }, {
    key: '&nbsp;',
    keyCode: 32,
    width: 'auto',
    icon: 'kongge'
  }, {
    key: '@',
    keyCode: 229,
  }, {
    key: '完成',
    keyCode: 13,
    type: 'button',
    // icon: 'enter',
    width: '3em'
  }]],
  'password': [[{
    key: '1',
    keyCode: 49,
  }, {
    key: '2',
    keyCode: 50,
  }, {
    key: '3',
    keyCode: 51,
  }, {
    key: '4',
    keyCode: 52,
  }, {
    key: '5',
    keyCode: 53,
  }, {
    key: '6',
    keyCode: 54,
  }, {
    key: '7',
    keyCode: 55,
  }, {
    key: '8',
    keyCode: 56,
  }, {
    key: '9',
    keyCode: 57,
  }, {
    key: '0',
    keyCode: 48,
  }], [{
    key: 'q',
    keyCode: 81,
  }, {
    key: 'w',
    keyCode: 87,
  }, {
    key: 'e',
    keyCode: 69,
  }, {
    key: 'r',
    keyCode: 82,
  }, {
    key: 't',
    keyCode: 84,
  }, {
    key: 'y',
    keyCode: 89,
  }, {
    key: 'u',
    keyCode: 85,
  }, {
    key: 'i',
    keyCode: 73,
  }, {
    key: 'o',
    keyCode: 79,
  }, {
    key: 'p',
    keyCode: 80,
  }], [{
    key: 'a',
    keyCode: 65,
  }, {
    key: 's',
    keyCode: 83,
  }, {
    key: 'd',
    keyCode: 68,
  }, {
    key: 'f',
    keyCode: 70,
  }, {
    key: 'g',
    keyCode: 71,
  }, {
    key: 'h',
    keyCode: 72,
  }, {
    key: 'j',
    keyCode: 74,
  }, {
    key: 'k',
    keyCode: 75,
  }, {
    key: 'l',
    keyCode: 76,
  }], [{
    key: '↑',
    keyCode: 20,
    id: 'case',
    type: 'button',
    width: 'auto',
    icon: 'arrow-up'
  }, {
    key: 'z',
    keyCode: 90,
  }, {
    key: 'x',
    keyCode: 88,
  }, {
    key: 'c',
    keyCode: 67,
  }, {
    key: 'v',
    keyCode: 86,
  }, {
    key: 'b',
    keyCode: 66,
  }, {
    key: 'n',
    keyCode: 78,
  }, {
    key: 'm',
    keyCode: 77,
  }, {
    key: '←',
    keyCode: 8,
    type: 'button',
    icon: 'leftarrow',
    width: 'auto'
  }], [{
    key: '!?#',
    id: 'symbol',
    keyCode: 321,
    type: 'button',
    width: '2em'
  }, {
    key: '123',
    id: 'number',
    keyCode: 321,
    type: 'button',
    width: '2em'
  }, {
    key: '.',
    keyCode: 190,
  }, {
    key: '&nbsp;',
    keyCode: 32,
    width: 'auto',
    icon: 'kongge'
  }, {
    key: '@',
    keyCode: 229,
  }, {
    key: '完成',
    keyCode: 13,
    type: 'button',
    // icon: 'enter',
    width: '3em'
  }]],
  'symbol': [[{
    key: '^',
    keyCode: 230,
  }, {
    key: '\\',
    keyCode: 230,
  }, {
    key: '|',
    keyCode: 230,
  }, {
    key: '<',
    keyCode: 230,
  }, {
    key: '>',
    keyCode: 230,
  }, {
    key: '£',
    keyCode: 230,
  }, {
    key: '€',
    keyCode: 230,
  }, {
    key: '￥',
    keyCode: 230,
  }, {
    key: '℃',
    keyCode: 230,
  }, {
    key: '$',
    keyCode: 230,
  }], [{
    key: '[',
    keyCode: 230,
  }, {
    key: ']',
    keyCode: 230,
  }, {
    key: '{',
    keyCode: 230,
  }, {
    key: '}',
    keyCode: 230,
  }, {
    key: '#',
    keyCode: 230,
  }, {
    key: '%',
    keyCode: 230,
  }, {
    key: '+',
    keyCode: 230,
  }, {
    key: '=',
    keyCode: 230,
  }, {
    key: '~',
    keyCode: 230,
  }, {
    key: '_',
    keyCode: 230,
  }], [{
    key: '-',
    keyCode: 230,
  }, {
    key: '/',
    keyCode: 230,
  }, {
    key: ':',
    keyCode: 230,
  }, {
    key: ';',
    keyCode: 230,
  }, {
    key: '(',
    keyCode: 230,
  }, {
    key: ')',
    keyCode: 230,
  }, {
    key: '$',
    keyCode: 230,
  }, {
    key: '&',
    keyCode: 230,
  }, {
    key: '"',
    keyCode: 230,
  }], [{
    key: '*',
    keyCode: 230,
    width: 'auto',
  }, {
    key: '?',
    keyCode: 230,
  }, {
    key: '!',
    keyCode: 230,
  }, {
    key: '@',
    keyCode: 230,
  }, {
    key: ',',
    keyCode: 230,
  }, {
    key: '`',
    keyCode: 230,
  }, {
    key: '÷',
    keyCode: 230,
  }, {
    key: '×',
    keyCode: 230,
  }, {
    key: '←',
    keyCode: 8,
    type: 'button',
    icon: 'tuige',
    width: 'auto'
  }], [{
    key: '返回',
    id: 'back',
    keyCode: 100,
    type: 'button',
    width: '2.5em'
  }, {
    key: '♂',
    keyCode: 230
  }, {
    key: '♀',
    keyCode: 230,
  }, {
    key: '&nbsp;',
    keyCode: 32,
    width: 'auto',
    icon: 'kongge'
  }, {
    key: '.',
    keyCode: 230,
  }, {
    key: '完成',
    keyCode: 13,
    type: 'button',
    // icon: 'enter',
    width: '3em'
  }]],
  'number': [[{
    key: '1',
    keyCode: 49,
  }, {
    key: '2',
    keyCode: 50,
  }, {
    key: '3',
    keyCode: 51,
  }], [{
    key: '4',
    keyCode: 52,
  }, {
    key: '5',
    keyCode: 53,
  }, {
    key: '6',
    keyCode: 54,
  }], [{
    key: '7',
    keyCode: 55,
  }, {
    key: '8',
    keyCode: 56,
  }, {
    key: '9',
    keyCode: 57,
  }], [{
    key: '返回',
    id: 'back',
    keyCode: 321,
    type: 'button'
  }, {
    key: '0',
    keyCode: 48,
  }, {
    key: 'x',
    keyCode: 8,
    type: 'button',
    icon: 'tuige'
  }]]
}
export default keyCode;